package tech.xs.sys.domain.bo.user.role;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Set;

@Getter
@Setter
@ToString
public class EditUserRoleBo implements Serializable {

    /**
     * 用户名
     */
    @NotBlank
    private String userName;

    /**
     * 角色列表
     */
    @NotNull
    private Set<String> roleCodes;

}
